Construction of a technology library for use in an electronic design automation system that converts the technology library into non-linear, gain-based models for estimating circuit delay

ABSTRACT

A system and process for constructing a technology library that is suitable for use with an electronic design automation system that converts the target technology library into a scalable cell library having non-linear, gain-based delay models for estimating circuit delay. The scalable cell library can then be used by gain-based structuring and mapping processes. The library construction process places at least six discrete cells in each logic function of a basic cell set. The library construction process also places at least five discrete cells in each logic function of an extended cell set and rules out cell sizing using internal buffer circuits. Also, for each discrete cell in the complete cell set, the variance of the capacitances between different input pins of the cell is maintained to be within 10 percent. For corresponding timing arcs of discrete sizes for a particular logic function, the present invention keeps equal the ratio of the output load to input capacitance. Also, the present invention constructs a technology library that has geometrically distributed sizes of cells within each logic function. Lastly, for each discrete cell within a logic cluster, the output maximum capacitance constraint is kept linearly proportional to the average input capacitance of the discrete cell. These processes likely allow a technology library to be suitable for the generation of a scalable library which can be used for integrated circuit design and fabrications.

RELATED UNITED STATES APPLICATION

The instant application is a continuation-in-part of pending U.S. patent application, Ser. No. 09/451,467, filed on Nov. 30, 1999, entitled “EVALUATION OF A TECHNOLOGY LIBRARY FOR USE IN AN ELECTRONIC DESIGN AUTOMATION SYSTEM THAT CONVERTS THE TECHNOLOGY LIBRARY INTO NON-LINEAR, GAIN-BASED MODELS FOR ESTIMATING CIRCUIT DELAY,” by Mayesh Iyer and Ashish Kapoor, which is hereby incorporated by reference.

BACKGROUND OF THE INVENTION

1. Field of the Invention

The present invention relates to the field of electronic design automation systems for designing and characterizing integrated circuits. More specifically, the present invention relates to an evaluation system for evaluating a technology library for transformation into an effective modeling method and data structure for modeling signal propagation delay of a timing arc of an integrated circuit cell.

2. Related Art

The rapid growth of the complexity of modern electronic circuits has forced electronic circuit designers to rely upon computer programs to assist and automate most steps of the circuit design process. Typical circuits today contain hundreds of thousands or millions of individual pieces or “cells.” Such a design is much too large for a circuit designer or even an engineering team of designers to manage effectively manually. To automate the circuit design and fabrication of integrated circuit devices, electronic design automation (EDA) systems have been developed.

An EDA system is a computer software system designers use for designing integrated circuit (IC) devices. The EDA system typically receives one or more high level behavioral descriptions of an IC device (e.g., in HDL languages like VHDL, Verilog, etc.) and translates this high level design language description into netlists of various levels of abstraction. At a higher level of abstraction, a generic netlist is typically produced based on technology independent primitives. The generic netlist can be translated by the EDA system into a lower level technology-specific netlist based on a technology-specific library that has gate-specific models for timing and power estimation. A netlist describes the IC design and is composed of nodes (elements) and edges, e.g., connections between nodes, and can be represented using a directed cyclic graph structure having nodes which are connected to each other with signal lines. The netlist is typically stored in computer readable media within the EDA system and processed and verified using many well known techniques. One result is a physical device layout in mask form which can be used to directly implement structures in silicon to realize the physical IC device.

More specifically, within a typical EDA system, the circuit designer first produces a high-level description of the circuit in a hardware description language such as Verilog or VHDL. This high-level description is converted into a netlist using a computer implemented synthesis process such as the “Design Compiler” by Synopsys of Mountain View, Calif. A netlist is a description of the electronic circuit which specifies what cells compose the circuit and which pins of which cells are to be connected together using wires (“nets”). Importantly, the netlist does not specify where on a circuit board or silicon chip the cells are placed or where the wires run which connect them together. Determining this geometric information is the function of a computer controlled placement process and a computer controlled routing process.

The placement process finds a location for each cell on a circuit board or silicon chip. The locations are specified, typically, in two dimensional spatial coordinates, e.g., (x, y) coordinates, on the circuit board or silicon chip. The locations are typically selected to optimize certain objectives such as wire length, wire routibility, circuit speed, circuit power consumption, and/or other criteria, subject to the condition that the cells are spread evenly over the circuit board or silicon chip and that the cells do not overlap with each other. The output of the automatic computer controlled cell placement process includes a data structure including the (x, y) location for each cell of the IC design.

Next, the designer supplies the netlist and the cell location data structure, generated by the placement program, to a computer implemented automatic wire routing process (“router”). The router generates wire geometry within data structure for connecting pins together. The wire geometry data structure and cell placement data structure together are used to make the final geometric database needed for fabrication of the circuit. Routers typically include a coarse routing process and a fine routing process. The coarse router provides a general path for the routing that is done at the detail stage. The coarse router examines at the level of the whole integrated circuit chip and its available resources and determines what the rough pathways should be from a topological standpoint. The fine or detail router lays down the actual geometries and connected wire segments in the appropriate layers as a wire connection may span multiple layers. The fine router creates wire routes that are “clean,” e.g., do not have design rule violations, do not overlap other structures and can be fabricated.

The signal propagation delay (“cell delay”) through a cell (“gate”) is an important characteristic to model within an EDA system. The cell delays in a technology library are typically represented using non-linear delay models (NLDM) which are essentially look-up tables. Typically, a group of tables are supplied in the technology library for each cell, tables are designated for representing the rise and fall delays for each timing arc of the cell. These tables are typically 4-dimesional in that they accept output load and input transition time (slew) as inputs and generate delay and output slew values as outputs. These output load-based NLDMs, while providing delay values, have a disadvantage in the cell delay modeling processes that are performed early in the circuit synthesis process. For instance, during early circuit synthesis processes, the output load of the cell is not known because the cells have not yet been mapped to the target technology library and, as such, the cells are not yet connected together. Output load estimates are made in these early synthesis processes because the output load-based NLDMs need these values as inputs. Unfortunately, the output load estimates introduce inaccuracies in the overall circuit synthesis process. The output load-based NLDMs also introduce a “Catch-22” problem in that delay modeling helps to accurately map the cells, but mapping yields the true output capacitance that is then used to accurately determine the cell's delay, etc. It would be advantageous to provide a cell delay modeling system that did not require the output load of a cell as an input.

A more simplistic linear delay model has been proposed as a vehicle for efficient logic synthesis of high-performance designs. This delay model is also referred to as the constant delay model. In the constant delay model, the delay of a timing arc of a gate, τ, is represented as:

τ=R·C _(o) +p

where R=output resistance,

C_(o)=output load of the timing arc output, and p=intrinsic delay of a gate.

This relationship can also be represented as:

τ=(R·C _(i))·(C ₀ /C _(i))+p

where C_(i)=input capacitance of the timing arc input.

The term (R·C_(i)) is also referred to as the logical effort of the gate. The term (C₀/C_(i)) is also referred to as the electrical effort or gain of the gate.

The constant delay model assumes that the delay of the timing arc remains constant. The reasoning for this is as follows. The intrinsic delay of the gate, p, is constant. As C_(o) increases, the gate is implicitly upsized, so C_(i) increases appropriately. So, (C₀/C_(i)) remains constant. As C_(i) increases, R appropriately decreases, so (R·C_(i)) remains constant. Consequently, τ remains constant. An important property of the constant delay model is that the delay of a timing arc is independent of load, e.g., the delay does not depend on either C_(o) or C_(i), but merely on the ratio of the two. This property is useful in early stages of logic synthesis, prior to technology dependent optimization because the actual load of a gate is unknown at that time.

However, while this simplistic delay model does have its advantages, the constant delay model does not consider several important factors when modeling the delay of a gate. For instance, the constant delay model does not consider the impact of transition times on delay, nor does it deal effectively with complex gates with different input capacitances for different input pins. The model also fails to take into consideration the impact of limited discrete sizes in the technology library nor of certain design rules like maximum capacitance and maximum transition associated with gates. By not taking into consideration the above factors, the constant delay model is not as accurate as non-linear delay models. It would be advantageous to provide a method and system for providing cell delay modeling that offered the advantageous of constant cell delay modeling but also considered the above referenced factors.

A number of technology libraries currently exist that utilize output load-based non-linear delay models (NLDMs). It would be advantageous to provide a mechanism that automatically constructed a technology library that includes output load-based NLDMs and could also be transformed into an alternate library format that used delay models that do not require output load as an input, thereby alleviating the above problems. If such a library construction process or system existed, vendors of technology libraries could readily construct technology libraries can be used with converters to the alternate library format.

SUMMARY OF THE INVENTION

A system and computer implemented process are described herein for constructing a technology library that is suitable for use with an electronic design automation system that converts the target technology library into a scalable cell library having non-linear, gain-based delay models for estimating circuit delay. The scalable cell library can then be used by gain-based structuring and mapping processes. In one embodiment, the library construction process places at least six discrete cells in each logic function of a basic cell set. The library construction process also places at least five discrete cells in each logic function of an extended cell set and rules out cell sizing using buffer circuits. Also, for each discrete cell in the complete cell set, the variance of the capacitances between different input pins of the cell is maintained to be within 10 percent. For corresponding timing arcs of discrete sizes for a particular logic function, the present invention keeps the delay of the corresponding timing arcs within 10 percent of each other, when the ratio of the output load to input capacitance are equal for the corresponding input-output pin paris. Also, the present invention constructs a technology library that has geometrically distributed sizes of cells within each logic function. Lastly, for each discrete cell within a logic cluster, the output maximum capacitance constraint is kept linearly proportional to the average input capacitance of the discrete cell. These processes likely allow a technology library to be suitable for the generation of a scalable library which can be used for integrated circuit design and fabrications.

Embodiments of the present invention also include a library evaluation system for determining the suitability of a target technology library for generating a suitable scalable library that utilizes delay models that are gain-based. Other embodiments of the present invention provides a cell delay modeling system and method for modeling cell delay without requiring the output load capacitance of the cell as an input. Furthermore, the present invention provides a non-linear delay model for accurate cell delay modeling. The present invention provides a cell delay modeling system and method that considers the impact of transition times on delay, that deals effectively with complex gates With different input capacitances for different input pins, that takes into consideration the impact of limited discrete sizes in the technology library and furthermore takes into consideration certain design rules like maximum capacitance and maximum transition associated with gates. These and other advantages of the present invention not specifically mentioned above will become clear within discussions of the present invention presented herein.

An evaluation system is described for evaluating the suitability of a target technology library for use with an electronic design automation system that converts the target technology library into a scalable library having non-linear, gain-based delay models for estimating circuit delay. After a library analysis process executes, an internal scalable library is generated having a scalable cell model for each functional cell class of the target technology library. Internal characteristics of the scalable library are analyzed to determine whether or not the target technology library is suitable for generating a suitable scalable library. Suitable scalable libraries are used for gain-based structuring and mapping processes. The library evaluation processes uses several metrics to determine the suitability of the target technology library. The first metric is the number of sizes metric and the second metric is the size consistency metric. The number of sizes metric is computed with respect to subsets (e.g., basic set and extended set) of the scalable cells identified within the scalable library. The number of sizes metric determines whether or not there are sufficient numbers of discrete cells within the cell clusters of the subsets. The size consistency metric examines the input pin capacitance ratios and the delay error amounts for discrete cells of the scalable library. An evaluation report is then compiled using the above metric information to grade library suitability.

In another embodiment, a non-linear, gain-based modeling of circuit delay within an electronic design automation (EDA) system is described herein. The present invention provides a scalable cell model for use in logic structuring and mapping for the design of integrated circuits. The scalable cell model provides a four dimensional non-linear delay model that accepts (1) input slew and (2) gain and provides (3) delay and (4) output slew information for a scalable cell. By eliminating output loading as a requirement for delay computations, the scalable model of the present invention can effectively be used to provide accurate delay (timing) information for those logic synthesis processes that precede technology based optimizations where the actual load of a cell is unknown. This scalable cell model considers: the impact of transition times on delay; complex gates having different input capacitances for different input pins; the impact of limited discrete cell sizes in the technology library; and design rules, e.g., maximum capacitance and maximum transition associated with gates.

A library analysis process creates a scalable technology library by analyzing discrete cells from a target technology library. The target technology library is analyzed and clustering is performed to select a cluster (e.g., subset) of cells for each cell group sharing a common functionality. Clustering is performed based on a cluster metric that can be any of the following: a delay consistency metric, an input pin consistency metric, an intercept/slope consistency metric or an consistency metric based on the slope and average input capacitance being inversely proportional. A nominal input slew value is computed for all cells and a scaling factor is also computed for each cell of each cell cluster. From each cell cluster, a four dimensional scalable cell model (look-up table) is then generated that inputs gain and input slew and outputs delay and output slew. Separate non-linear delay models are provided for rise and fall time for each cell. Those cells not within a cell cluster do not participate in generating data for the scalable model. Therefore, the scalable cells in the scalable library are characterized with a new load-independent delay model, in which delay is modeled as a non-linear function of gain and slew.

A default gain is then computed for each scalable cell model and an area model and an input pin capacitance model are then generated for each scalable cell model. The input pin capacitance model is useful for load propagation of the scalable cells. For a particular integrated circuit design, its designated discrete cells are replaced with the scalable cells which are used during logic structuring and mapping. Logic structuring and mapping processes use the scalable cells as a basis for the optimization. After synthesis, a discretization process then converts the scalable cells back to discrete cells before the technology dependent optimizations are performed. Therefore, at the end of optimization, present invention discretizes the scalable cells to the closest discrete cells available in the target technology library. Following this, technology based optimization is performed primarily for delay, design rule fixing and area recovery. The accuracy of the logic structuring and mapping processes is hinged upon the accuracy of the scalable model that library analysis derives.

The present invention also has a capability of automatically determining whether a technology library is suitable for its optimization techniques. This is important because the accuracy of many processes in the present invention may depend on the accuracy of the gain-based scalable delay model that is created. After performing library analysis, a library evaluation step is performed to determine if the target technology library is suitable. If the library is found to be suitable, logic structuring and mapping is invoked and if not, a conventional optimization engine can be used.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram of a general purpose computer system operable as a platform for the embodiments of the modeling processes and data structures of the present invention.

FIG. 2 is a block overview of the logic synthesis and optimization processes in accordance with one embodiment of the present invention.

FIG. 3 is a block diagram of an output load-based non-linear delay model (NLDM), or four dimensional look-up table, characteristic of a discrete cell within an input technology library.

FIG. 4 is a block diagram of a non-linear, gain-based, delay model (NLDM), or four dimensional look-up table, characteristic of a scalable cell in accordance with one embodiment of the present invention.

FIG. 5 is a flow diagram illustrating steps in a library analysis process in accordance with an embodiment of the present invention.

FIG. 6A illustrates several cell groups within an input technology library, each cell group containing discrete cells of a same logic function.

FIG. 6B illustrates cell clusters of discrete cells, a cell cluster being defined for each cell group identified in FIG. 6A in accordance with an embodiment of the present invention.

FIG. 7 illustrates multiple exemplary discrete inverter cells of varying size within an inverter cell cluster.

FIG. 8 is a graph of rise (and fall) delay of the cells of an exemplary cell group against their individual average input capacitances as used in the delay consistency clustering metric of an embodiment of the present invention.

FIG. 9 illustrates corresponding input pins of two logic gates of a same discrete cell group.

FIG. 10 is a graph of input pin capacitance ratio of the cells of an exemplary cell group against their individual average input capacitances as used in the input pin consistency clustering metric of an embodiment of the present invention.

FIG. 11A and FIG. 11B illustrates two exemplary delay versus output load graphs used in the intercept/slope (LDM) consistency clustering metric of an embodiment of the present invention.

FIG. 12 is a graph of LDM slope versus average input capacitance for an exemplary group of discrete cells used in another consistency clustering metric of an embodiment of the present invention.

FIG. 13 is a flow diagram of steps of a scan line cutting process used for determining cell clustering given a consistency clustering metric in accordance with an embodiment of the present invention.

FIG. 14 is a graph of rise and fall delay versus normalized input slew for a group of discrete cells of the technology library and illustrates the impact of input slew on delay computations.

FIG. 15 is a flow diagram illustrating steps of the nominal slew computation process in accordance with an embodiment of the present invention.

FIG. 16 is a graph of rise (and fall) delay versus average input capacitance for an exemplary group of discrete cells and illustrates the larger delay values associated with smaller sized cells that requires scaling-size compensation.

FIG. 17 is a flow diagram illustrating steps in the scaling size computation process in accordance with an embodiment of the present invention.

FIG. 18 is a flow diagram illustrating steps in the process for computing the scalable non-linear, gain-based delay models in accordance with an embodiment of the present invention.

FIG. 19 is a graph of the area of discrete cells against their average input capacitance and is used to model the area for the scalable non-linear, gain-based delay models of the present invention.

FIG. 20 is a flow diagram of steps of the discretization process in accordance with an embodiment of the present invention.

FIG. 21 is a flow diagram of an alternative embodiment of the logic synthesis and optimization processes of FIG. 2 that contains a library evaluation process in accordance with an embodiment of the present invention.

FIG. 22 is a flow diagram of the library evaluation process in accordance with an embodiment of the present invention.

FIG. 23A illustrates the basic cell set and FIG. 23B illustrates the extended cell set used in the library evaluation process of FIG. 22.

FIG. 24A and FIG. 24B illustrate a flow diagram of steps used in the process of the present invention for generating the number of sizes metric used for evaluating the suitability of the target technology library.

FIG. 25A and FIG. 25B illustrate a flow diagram of steps used in the process of the present invention for generating the size consistency metric used for evaluating the suitability of the target technology library.

FIG. 26A and FIG. 26B illustrate a technology library construction process in accordance with an embodiment of the present invention for constructing a technology library that is likely to be suitable for generating a scalable cell library that can be used in the gain-based structuring and mapping processes.

DETAILED DESCRIPTION OF THE INVENTION

In the following detailed description of the present invention, a system and method for constructing a technology library that is suitable for conversion into an alternate library format that includes non-linear, gain-based delay modeling, numerous specific details are set forth in order to provide a thorough understanding of the present invention. However, it will be recognized by one skilled in the art that the present invention may be practiced without these specific details or with equivalents thereof. In other instances, well known methods, procedures, components, and circuits have not been described in detail as not to unnecessarily obscure aspects of the present invention.

CASE INCORPORATED BY REFERENCE

The following United States co-pending patent application is incorporated herein by reference: application entitled, “Non-Linear, Gain-Based Modeling of Circuit Delay for an Electronic Design Automation System,” by M. Iyer and A. Kapoor, Ser. No. 09/452,056, filed on Nov. 30, 1999, and assigned to the assignee of the present invention.

NOTATION AND NOMENCLATURE

Some portions of the detailed descriptions which follow are presented in terms of procedures, steps, logic blocks, processing, and other symbolic representations of operations on data bits within a computer memory. These descriptions and representations are the means used by those skilled in the data processing arts to most effectively convey the substance of their work to others skilled in the art. A procedure, computer executed step, logic block, process, etc., is here, and generally, conceived to be a self-consistent sequence of steps or instructions leading to a desired result. The steps are those requiring physical manipulations of physical quantities. Usually, though not necessarily, these quantities take the form of electrical or magnetic signals capable of being stored, transferred, combined, compared, and otherwise manipulated in a computer system. It has proven convenient at times, principally for reasons of common usage, to refer to these signals as bits, values, elements, symbols, characters, terms, numbers, or the like.

It should be borne in mind, however, that all of these and similar terms are to be associated with the appropriate physical quantities and are merely convenient labels applied to these quantities. Unless specifically stated otherwise as apparent from the following discussions, it is appreciated that throughout the present invention, discussions utilizing terms such as “processing” or “computing” or “translating” or “calculating” or “determining” or “displaying” or “recognizing” or the like, refer to the action and processes of a computer system, or similar electronic computing device, that manipulates and transforms data represented as physical (electronic) quantities within the computer system's registers and memories into other data similarly represented as physical quantities within the computer system memories or registers or other such information storage, transmission or display devices.

COMPUTER SYSTEM PLATFORM 112

Aspects of the present invention, described below, are discussed in terms of steps executed on an EDA computer system (e.g., processes 200, 222, 266, 268, 270, 272, 228, 600 and 800). These steps are implemented as program code stored in computer readable memory units of a computer system and are executed by the processor of the computer system. Although a variety of different computer systems can be used with the present invention, an exemplary general purpose computer system 112 is shown in FIG. 1.

In general, computer system 112 of FIG. 1 includes an address/data bus 100 for communicating information, a central processor 101 coupled with the bus for processing information and instructions, a volatile memory 102 (e.g., random access memory RAM) coupled with the bus 100 for storing information and instructions for the central processor 101 and a non-volatile memory 103 (e.g., read only memory ROM) coupled with the bus 100 for storing static information and instructions for the processor 101. Computer system 112 also includes a data storage device 104 (“disk subsystem”) such as a magnetic or optical disk and disk drive coupled with the bus 100 for storing information and instructions and a display device 105 coupled to the bus 100 for displaying information to the computer user. Data storage device 104 can include one or more removable magnetic or optical storage media (e.g., diskettes, tapes) which are computer readable memories. Memory units of computer system 112 include 102, 103 and 104 and can be used to store data structures describing gain-based non-linear delay models in accordance with the present invention.

Also included in computer system 112 of FIG. 1 is an alphanumeric input device 106 including alphanumeric and function keys coupled to the bus 100 for communicating information and command selections to the central processor 101. Computer system 112 also includes an optional cursor control or directing device 107 coupled to the bus for communicating user input information and command selections to the central processor 101. Computer system 112 can also include an optional signal generating device 108 coupled to the bus 100 for interfacing with other networked computer systems. The display device 105 utilized with the computer system 112 of the present invention may be a liquid crystal device, other flat panel display, cathode ray tube, or other display device suitable for creating graphic images and alphanumeric characters on a display screen and recognizable to the user.

NON-LINEAR GAIN-BASED DELAY MODELING

FIG. 2 illustrates an overall data flow diagram of an EDA process 200 in accordance with an embodiment of the present invention. Process 200 receives an RTL description 202 of a particular integrated circuit (IC) design and also interfaces with constraints 206 defined for the design 202 and a particular (“target”) technology library 204 selected by the IC designer to be used for the design 202. As described further below, embodiments of the present invention create an new library from the technology library 204, replace the cells of the netlist with the cells from the new library, perform processes on the replaced netlist and then replace back the new cells of the netlist with discrete cells from the technology library 204 before technology dependent optimizations 230 are performed.

The target technology library 204 contains discrete logic cells, each having an output load-based NLDM of FIG. 3 for modeling its delay. In the output load-based NLDM 240, an input slew 242 a and an output load capacitance 242 b are provided as inputs. The look-up table 246 then provides a delay value 244 a and an output slew 244 b. In this model, the gain of a cell can be determined by dividing the output load 242 b by the input load (capacitance) of the discrete cell. The output load-based NLDM 240 of FIG. 3 is also called the “discrete NLDM” herein. A separate output load-based NLDM 240 is provided for the rise delay for each discrete cell of the technology library and separate output load-based NLDM 240 is provided for the fall delay for each discrete cell.

High level optimizations are performed at step 210 of FIG. 2 based on the RTL description 202, the technology library 204 and the constraints 206 and then high level logic and structuring processes 220 are performed. Processes 210 and 220 are performed during the “early stages” of circuit synthesis, e.g., before the technology dependent optimizations 230 generate the mapped netlist 232. At process 220, library analysis 222 is performed which generates a new library containing'scalable cell models 224 and also generates a library suitability report 212.

FIG. 4 illustrates non-linear gain-based delay table 224 a as part of a scalable cell model. It contains a scalable delay look-up table 256 that is indexed by two inputs including input slew 252 a and gain 252 b. It generates two outputs including delay 254 a and output slew 254 b. A scalable cell model is provided for each cell group (grouped by logic function) of the technology library 204. A scalable cell model includes a non-linear gain-based delay table for rise delay and also one for fall delay and for each timing arc. The scalable cell models of the present invention are used to perform gain-based structuring and mapping at process 226 of FIG. 2. During process 226, the discrete cells (and output load-based delay models) used by the IC design 202 are replaced with scalable cells and gain-based modeling in accordance with the present invention. After mapping, a discretization process 228 is then performed to translate the scalable cells back to discrete cells of the technology library 204. After that, technology dependent optimizations are performed at step 230 which produce the mapped netlist 232.

The present invention derives and uses a delay model that is a load-independent non-linear delay model that also considers transition times. This delay model is significantly different from the constant delay model, because in the present invention, the delay of a gate is not constant. Moreover, the present invention considers the impact of transition times on delay, deals effectively with complex gates with different input capacitances for different input pins, takes into consideration the impact of limited discrete sizes in the technology library and takes into consideration certain design rules like maximum capacitance and maximum transition associated with gates.

Aspects of the present invention perform analysis of the discrete cells in the technology library 204 and derive a continuous (scalable) model 224 (FIG. 2) for each logic function in the library for which the analysis is performed. Optimization processes in the present invention, including technology-independent optimization, timing-driven structuring, logic decomposition, technology mapping and gain-based synthesis then work with this continuous model at step 226 (FIG. 2). At the end, the netlist is discretized at step 228, e.g., the scalable cells in the netlist are converted to discrete cells in the technology library 204. After discretization, traditional late-timing correction techniques (at process 230) are used for delay optimization, design rule fixing and area recovery. Although a number of different technology dependent optimizations can be used effectively within the present invention, in one implementation, step 230 of FIG. 2 can be performed using the Design Compiler (e.g., Design Compiler in DC 1999.10) which is commercially available from Synopsys, Inc. of Mountain View, Calif.

It is appreciated that after library analysis 222, the present invention automatically performs library evaluation to render a judgment 212 as to the suitability of a target technology library 204 for generating scalable cells and for the optimization process 226.

LIBRARY ANALYSIS PROCESS 222

The library analysis process 222 is shown in FIG. 5 and is used to generate scalable libraries with scalable cell models that have associated gain-based NLDMs. In one embodiment, library analysis 222 derives an internal scalable library from the discrete technology library 204 for single output combinational cells. The cells in this scalable library 204 are characterized with the new delay model that library analysis 222 derives. Library analysis 222 is performed independent of whether a library is suitable for further optimizations, such as process 226 (FIG. 2). Library analysis 222 consists of several major sub-processes including: logic clustering 264-266; nominal slew computation 268; scaling size computation 270; NLDM generation 272; default gain computation 274; area model generation 276 and input capacitance model generation 278.

Determine Cell Groups. At step 260 of the library analysis process 222, the present invention accesses the discrete cells of a technology library 204. A discrete library 204 typically has several cells (sizes) which implement the same logic function. These cells are designed to optimize various design parameters like power, area, delay or porosity. At step 262, all-single output discrete cells having a common logic functionality (e.g., AND, OR, NOR, NAND, XOR, etc.) are grouped into a cell group. In one embodiment, memory cells (e.g., RAM and ROM) and sequential cells and cells having two or more output pins are ignored by step 260. FIG. 6A illustrates an exemplary result 280 of step 262 where discrete AND gates 11-21 are grouped into cell group 282, discrete OR gates 25-37 are grouped into cell group 284, discrete inverter gates 41-53 are grouped into cell group 286 and discrete multiplexer (MUX) gates 55-67 are grouped into cell group 288. The cells of a particular cell group, while having the same logic function, are typically of different sizes. FIG. 7 illustrates an exemplary cell group 286 including inverters 41-53 of progressively larger size. As a gate increases in size, the load it can drive typically increases.

Determine Cluster Metric for Each Cell Group. At step 264, a cell cluster metric is determined for each cell group identified in step 262. For generating a scalable cell for any logic function, process 222 performs clustering of cells that implement the same logic function and have similar characteristics. Cluster metrics are used to provide a measure to identify cells with similar characteristics. The cluster metric is then used by step 266 to determine a separate cell cluster for each cell group. A cell cluster is a subset of the cells in each cell group and may include all the cells of the cell group in certain circumstances. There are several methods the present invention can use to determine the cell cluster metric and exemplary methods are described below. At the completion of steps 264 and 266, each identified cell group of step 262 has its own cell cluster. FIG. 6B illustrates an exemplary result 290 of steps 264 and 266. A cell cluster for the AND gate functionality is 292 and includes the subset of AND gates 13-18 corresponding to cell group 282. Similarly, a cell cluster for the OR gate functionality is 294 and includes the subset of OR gates 29-37 corresponding to cell group 284. A cell cluster for the inverter gate functionality is 296 and includes the subset of inverter gates 41-49 corresponding to cell group 286. Lastly, a cell cluster for the mux gate functionality is 298 and includes the subset of mux gates 55-61 corresponding to cell group 288.

The preferred embodiment of the present invention utilizes the delay consistency cluster metric at step 264. Therefore, a delay consistency metric is generated for each cell group identified in step 262. Gain of a discrete cell is defined as the ratio of output capacitance to average input capacitance of the discrete cell. Therefore, under this cluster metric, cells in the same cluster should have similar delay numbers for all the timing arcs from input pins to the output pins for same gain values. Under this metric, a cell group is selected and an exemplary gain value is determined, e.g., between 3 and 8, in one embodiment. The input capacitances of each discrete cell of the selected cell group are then separately averaged so that each discrete cell has its own average input capacitance. From the selected gain value and the average input capacitance of each cell, an output load capacitance can be computed by multiplying the respective average input capacitances by the selected gain. Assuming a nominal input slew of zero, the present invention then utilizes the discrete NLDMs (e.g., input slew and output load capacitance are supplied as inputs) of the discrete cells of the selected cell group to determine the rise and fall delays for all the discrete cells of the selected cell group. This is repeated for all cell groups.

FIG. 8 is a graph 320 of rise and fall delays of discrete inverter cells from the exemplary library 204 with the delay values computed using an exemplary gain value set to 3 and a nominal input slew of zero. Graph 322 corresponds to the fall delay and graph 324 corresponds to the rise delay for an exemplary inverter cell group having approximately 20 inverters. On the x-axis of the graph is the input capacitance (average input capacitance) of the discrete inverters on a logarithmic scale and on the y-axis are the rise and fall delays of the corresponding inverter cell. The cells 326 within the two black lines will most likely be included in the cell cluster for the inverter cells as they have consistent delay characteristics while the remaining cells will not be considered suitable for the cell cluster on the basis of their delay characteristics. Therefore, using the delay consistency metric, a cluster of approximately 8 cells is created in this exemplary case. At step 266, the above process is then repeated for each cell group using the delay consistency metric.

Typically, most of the cells that are excluded from the cell cluster have been derived by internal buffering. Cells derived using internal buffering will most likely get ruled out during logic clustering as they typically have poor correlation with other non-buffered cells.

In an alternate embodiment, at step 266 of process 222 (FIG. 5) an input pin capacitance consistency cluster metric can be used in lieu of the delay consistency metric. According to this second metric technique, the input capacitance of corresponding input pins of discrete cells of a selected cell group should have similar ratios. FIG. 9 illustrates an exemplary AND gates 330 (A) and 322 (B). C1A and C1B are the input capacitances, respectively, for the first inputs of gates A and B. C2A and C2B are the input capacitances, respectively, for the second inputs of gates A and B. For instance, the ratio of C1A/C1B should be equal to the ratio of C2A/C2B. This relationship can readily be rewritten so that each capacitance ratio is expressed in terms of the input pins of a same cell. FIG. 10 is a graph 340 of the ratio of input pin capacitances of two input NAND gates in a typical technology library 204. On the x-axis of the graph is the average input capacitance of the discrete NAND gates on a logarithmic scale and on the y-axis is the ratio of pin capacitance. Graph 342 is made of the discrete NAND gates of the exemplary NAND cell group having 6 gates. During clustering, cells 344 above the horizontal line will most likely be included in the cluster while cells below the line will be excluded on basis of inconsistent input pin capacitance ratios.

In yet another alternate embodiment, at step 266 of process 222 (FIG. 5) an intercept/slope consistency metric can be used in lieu of the delay consistency metric and the input pin capacitance consistency metric. According to the intercept/slope consistency metric, for each discrete cell, a LDM for output rise and fall delays are derived using the discrete NLDM tables in the technology library 204. FIG. 11A illustrates an exemplary graph 350 made for a discrete cell of a selected cell group. It plots rise delay (obtained from the discrete NLDM with input slew set to zero) versus output load for the given cell. An intercept 352 and a slope 354 are computed for the given cell. This is done for each cell of the selected cell group. FIG. 11B illustrates an exemplary graph 356 made for the discrete cell of the selected cell group. It plots fall delay versus output load for the given cell. An intercept 358 and a slope 360 are computed for the given cell. This is also done for each cell of the selected cell group. A delay_avg metric for the given cell is computed as the average of the RISE and FALL output delay line intercepts 352 and 358. A delay_ratio metric is also computed as the ratio of the RISE to FALL output delay line slopes 354 and 360 for the given cell. The above is then repeated for each cell of the selected cell group. Clustering is performed such that these two metrics for cells in a cluster are within acceptable limits. This is then repeated for each cell group.

In a fourth alternative embodiment, the metrics computed at step 264 are based on the metric relationship that the slopes of the above LDM should be inversely proportional to the average input capacitance of the discrete cells. FIG. 12 is a graph 368 of the rise (plot 372) and fall (plot 370) slopes of the LDM for discrete inverters in the technology library 204. On the x-axis of the graph is the input capacitance of exemplary cell group (e.g., the inverter) on a logarithmic scale and on the y-axis are the rise (plot 372) and fall (plot 370) slopes of the LDM. Clustering most likely does not rule out any of these cells on the basis of their LDM slopes due to their adherence to the above metric relationship.

Determine Cell Clusters from Cluster Metrics. Within the embodiments of the present invention described above, one or more of the above measures can be used to cluster cells from a discrete library 204. Using all of the above criterion ensures a good correlation between discrete and scalable cells but may also reduce the size of the cluster. On the other hand, using too few measures can result in a badly correlated scalable library that may result in too many errors during discretization process 228 (FIG. 2). It is appreciated that intermediate steps of process 266 may locate many clusters for a particular logic function. If many clusters are derived for a particular logic function, the present invention uses only the single best cluster (of the derived clusters) where the errors related to the above metrics are minimal and the size of the cluster is above a certain threshold. When a best cell cluster for a cell group is selected, cells in all other unselected clusters for that cell group are ignored when constructing scalable cell model based on the cell group, however technology-dependent optimization (step 230 of FIG. 2) does still consider all discrete cells in the technology library 204.

At step 266 of FIG. 5, the present invention examines the data from the metrics generated above, for each cell group, and determines the set of discrete cells that should be placed into a cell cluster for that cell group. This is repeated for each cell group. Clustering is the technique of grouping cells having similar metric characteristics (and excluding others that are different) and a number of various well known methods can be used to solve this problem within the present invention. Two exemplary methods are described below. Refer to the example of FIG. 8 and assume that only delay numbers are being used for clustering. One possible method of computing the largest cluster is as follows. Choose any one cell and find out all other cells in the set that have delay numbers within ±X % of the selected cell. All these cells put together represent a possible cluster. However, this does not represent the only cluster for these cells as the cluster was computed assuming one chosen cell as the midpoint of the cluster. To compute all the clusters the above step can be repeated for all the cells in the set. Further, the step needs to be repeated for all the delay arcs of the cells. The complexity of this process is 0(n²×m) where n is the size of the set and m is the number of delay arcs. A modified scan line process has been developed that significantly improves the speed of the above described process. The scan line cutting process reduces the runtime by reducing the 0(n²) computations done for each arc.

FIG. 13 illustrates the scan line cutting process 266 in more detail. Firstly, at step 382 a cell queue is computed. The delay of the arc being considered is computed for all the cells for a fixed gain value. That is, for a fixed gain value (e.g., from 3 to 8), the output load of a cell can be computed based on its input capacitance (as described above) and a zero input slew. Using the discrete NLDMs, the delay can be computed for each discrete cell. The cells are sorted in ascending order of the delay and added to the cell queue. Also a counter, called cells, is initialized to zero at step 382. At step 384, another queue, called break queue, is initialized to a null queue. Next, a scan line based process sweeps over the two queues until both the queues are empty. This sweep computes, for each cell, the number of cells with delay less than the cell and greater than (1−X) times the delay of the cell. This value is also referred to as the left_cluster_size of the cell.

The steps performed during the sweep are as follows. At step 386 of FIG. 13, the first data in both the queues are found. If the queue is empty, the data is assumed to be infinity. The smallest of the two data items is then selected. At step 388, if the smallest data is infinity, then process 266 returns. At step 390, the smallest data is popped from its respective queue. At step 392, if the data is from the cell queue, then the counter is incremented by one, left_cluster_size of the cell associated with the data is set equal to counter cells and a data element is inserted in the break queue with value equal to data/(1−X). At step 394, if the selected data is from the break queue, then the counter is decremented by one and processing returns to step 386.

The above steps are again repeated with descending order of delay to compute the right_cluster_size of each cell. Finally, the right_cluster_size and the left_cluster_size of each cell are combined to get the total cluster_size for each cell. The cell with maximum cluster_size is the one used as the mid-point of the cluster and all cells with delay within ±X % are included in the cluster. Subsequent clusters can be computed by repeating the above process while excluding all the cells previously included in a cluster.

Exemplary process 266 of FIG. 13 considers one timing arc to compute the clusters. However, all the timing arcs are considered while clustering. One way to achieve this is to compute the clusters based on each timing arc separately and then take the intersection of the clusters. This can be done in O(mn) time. Exemplary process 266 of FIG. 13 operates well as long as the cell distribution is such that there is only one cluster of acceptable size. In case of multiple clusters, all clusters between two arcs should be compared and the intersection computed to get the largest clusters. Hence, the complexity grows to O(mnk²), where k is the maximum number of clusters within an arc. However, for most vendor libraries, k is less than 3.

Compute Nominal Input Slew Value. Although an input slew of zero was assumed and used in the clustering processes 264 and 266 (FIG. 5), in an alternate embodiment of the present invention, a nominal slew value (non-zero) can be computed and used in lieu of the zero value. At step 268 of FIG. 5, this nominal slew value is computed by the present invention.

As shown in FIG. 14, slew numbers can significantly change the performance of a gate. The library analysis process 222 computes a nominal slew that is used as the default input slew for future delay number computations. The impact of slew on delay is shown in FIG. 14. On the x-axis of the graph 400 is the input slew divided by nominal slew and on the y-axis are the rise and fall delay of a typical inverter. Rise delay is represented by plot 404 while fall delay is represented by plot 402. For zero input slew (x=0), rise and fall delays of the discrete inverter are almost equal. However, for nominal input slew (x=1) the delays are significantly different. Normally, the input slew to a gate is closer to the nominal slew and hence using. the nominal slew value during library analysis 222 and evaluation can lead to better results.

One method for computing the nominal slew at step 268 of FIG. 5 is to compute the output slew of all the discrete cells in any cluster after setting their gains to a fixed value between 3 and 8. (The output slew of the discrete cell is still computed using the discrete NLDM, where output load is computed as the ratio of the selected gain and average input capacitance of the cell and the input slew is assumed zero.) Then the average of all these slews is computed as the nominal input slew for all cells. Another method for computing the nominal slew at step 268 is similar to the above method except that only clusters of certain basic gates like inverter, NAND2 (e.g., 2=two input), NOR2, NAND3, and NOR3 are used to compute the nominal slew value.

FIG. 15 illustrates a preferred embodiment of the present invention for computing nominal slew at step 268. According to the method of FIG. 15, only inverters are used and at step 410, the inverter cells of the inverter cluster are accessed. At step 412, a selected inverter cell is obtained. At step 414, an output load capacitance for the selected cells is computed for a reasonable value of gain between 3 and 8 and the cell's average input capacitance. An input slew of zero is initially assumed at step 416. At step 418, the output slew of the selected inverter cell is computed based on the computed output load capacitance and input slew using the cell's discrete NLDM. This computed output slew becomes the new input slew at step 420 and the procedure 268 is repeated until the slew converges or a pre-fixed number of iterations are exhausted as tested by step 422. This is then done for each inverter cell of the inverter cluster as shown by step 424. At step 426, the nominal input slew is computed as the average of the slews computed for all the inverter cells for which the iteration converged. Otherwise, the nominal slew is set to be 0.0.

The computed nominal input slew is used for all cells and can be used for future delay computations. In an alternate embodiment of the present invention, the computed nominal input slew can also be used to perform clustering (e.g., step 264 and step 266 of FIG. 5) in lieu of the assumed zero input slew.

Determine Scaling Sizes. At step 270 of FIG. 5, the present invention determines a scaling size for each discrete cell of the cell clusters. A discrete cell represents a scalable cell with a fixed size. This is also known as the scaling size of the discrete cell. As a starting point average input capacitance is a good measure for the scaling size of a gate. However, this is not completely accurate. This is because the input capacitance of a discrete cell is equal to the sum of the transistor capacitance and the via, metal and poly capacitances. For large gates, the latter can be ignored but for the smaller gates these capacitances become significant. Hence the scaling size needs to be normalized for these gates. This is mainly required so that scaling size of a gate scales consistently as the size of the gate increases.

FIG. 16 shows a graph 430 of the delay of discrete inverters for a gain value of 3. The output load has been computed using the average input capacitance as the scaling size and a fixed gain value of 3. On the x-axis of the graph is the average input capacitance on a logarithmic scale and on the y-axis are the rise and fall delays of all the inverters in a cluster. Plot 432 represents the rise delay and plot 434 represents the fall delay. The delay of the smaller sized cells (left-hand side) is very different than that of the larger sized cells. This is because the scaling size of these cells has been biased by other parasitic capacitances, and as a result the computed output load for a fixed gain is significantly higher.

Embodiments of the present invention, at step 270, utilize the following processes to normalize the scaling size for each cell. By normalizing the scaling size for individual cells, this facilitates entry of smaller sized cells into the cell cluster that would otherwise be excluded from the cell cluster. One method for computing the scaling size is to require that each library vendor separately specify the above two components of the input capacitance and then only use the average transistor capacitance as the scaling size for each cell.

FIG. 17 illustrates steps used by the preferred embodiment of the present invention for determining scaling sizes for the discrete cells. Process 270 of FIG. 17 normalizes the average input capacitance based on the delay characteristic of the cell. For example, all cells for a fixed gain should have the same delay for all the timing arcs (assuming that the input slew is constant). At step 440, a cell cluster is selected for size scaling. At step 442, a set of small discrete cells (of the cell group corresponding to the selected cell cluster) that were not included in the selected cell cluster are selected. At step 444, the present invention determines the arc delay for a small set of large cells within the selected cell cluster using the computed nominal slew as the input slew and a fixed gain (e.g., from 3 to 8). Therefore, delay values are computed by setting the input slew equal to the nominal slew. At step 446, for the smaller cells, the output capacitance is computed for each that results in similar delay numbers for all the timing arcs. At step 448, the computed gain for each small cell is determined by dividing its computed output capacitance by -its average input capacitance.

At step 450, for those small cells having a computed gain that is outside the fixed range (e.g., 3 to 8), step 452 is entered, else step 454 is entered. At step 452, these small cells remain excluded from the selected cell cluster. For step 454, these small cells are placed within the selected cell cluster and the scaling size for each is computed at step 456 as its computed output capacitance (from step 448) divided by the fixed gain value used in step 444. The above process 270 is repeated for each of the cell clusters. It is appreciated that for all subsequent usage, the gain of a discrete cell is equal to its output capacitance divided by its scaling size, not its input capacitance.

Gain-Based NLDM Generation. Library analysis 222 of FIG. 2 derives a gain-and-slew-based (load-independent) NLDM, as shown in FIG. 4, for all scalable cells. Process 272 utilizes the information determined above for generating the gain-and-slew-based (load-independent) NLDMs. This “gain-based” NLDM is a four-dimensional table with the four dimensions being input slew, gain, delay and output slew. In accordance with the present invention, different gain-based NLDMs are computed for all timing arcs of the scalable cell for both rise and fall delays and for rise and fall transitions. Two different methods can be used to compute the gain-based NLDMs within process 272.

FIG. 18 illustrates the step of process 272 for the preferred embodiment of the present invention for constructing the gain-based NLDMs for each scalable cell. Generally, average delay for all the discrete cells corresponding to the scalable cell (e.g., the discrete cells of a selected cell cluster) is used to generate a NLDM. At step 460, a cell cluster is selected. First, the points of the NLDM are identified. At step 462, for each discrete cell of the selected cell cluster, the maximum output capacitance is obtained. The output capacitance for a discrete cell varies between 0 and output_max_capacitance (given from the technology library 204). The maximum gain range for each discrete cell is then computed as being from zero to the maximum output capacitance divided by scaling size of the discrete cell. This is repeated for each discrete cell of the cell cluster.

At step 464 of FIG. 18, for all the discrete cells, the tightest ranges of all these ranges of step 462 are computed and used as the gain range for the scalable cell. At step 466, the input slew range is computed. The input slew does not have a maximum limitation. Hence a good range that is often used is between 0 and some constant, k, times the nominal slew where k is 8 (in one example). At step 468, the NLDM index points are exponentially distributed between the determined gain and input slew ranges.

At step 470, a gain and slew index point is selected within the two ranges determined above. Each point of step 470, a gain value and an input slew value are known and these become points in the gain-based NLDM table of the scalable cell. For a given point (e.g., fixed input slew and gain), at step 472, the output capacitance of a discrete cell is computed by multiplying the gain with the scaling size of the cell. At step 474, the delay of all the discrete cells of the selected cluster are computed (for the given index point) using the corresponding discrete NLDMs (FIG. 3) of these cells. The average of all these delays is used to compute the delay of the scalable cell for this index point. At step 476, steps 470-474 are repeated for all the index points selected in step 468. At step 478, the gain-based NLDM for the selected cell cluster is then stored in memory. Process 272 is done for rise delay and for fall delay and for each timing arc of the scalable cell. This entire process is then repeated for each cell cluster.

In an alternative embodiment, another method is used to compute the gain-based NLDMs. In this method, the gain-based NLDM model is set identical to a preferred discrete cell within the selected cell cluster corresponding to the scalable cell. If the preferred cell is selected correctly, this gain-based NLDM model is better for the optimization engine. Often the mid-size discrete cell makes a good preferred cell, assuming the size of the selected cell cluster is reasonable. The above is then repeated for each cell cluster.

According to either of the above two methods, at the completion of step 272 a scalable cell model (having an associated gain-based NLDM) is generated and stored in memory for each of the cell clusters identified in step 266 (FIG. 5). Within each scalable cell model, a separate gain-based NLDM is provide for each timing arc and for rise and fall delay.

Default Gain Computation. At step 274 of FIG. 5, a default gain is computed for each of the scalable cells generated in step 272. In the gain-based NLDM of the present invention, delay is load-independent and is a function of input slew and gain. The load-independence property of this delay model is leveraged within the optimization process (e.g., process 226), particularly technology mapping. However, the basis for this is to have a reasonable value of default gain value for every scalable cell. It is also required to have the value of this default gain within a particular range, such that the discretization process 228 using the default gain value can find a discrete cell corresponding to that gain value of the scalable cell. Essentially, this gain range should be a function of the instance-specific load seen by the scalable cell and input capacitances of the discrete cells corresponding to the scalable cell.

Two processes can be used to determine the default gain value for a scalable cell and each is described below. According to the first process (used by the preferred embodiment), the midpoint of the NLDM is used. The NLDM for the discrete cells specifies a range of the loads. Using the midpoint ensures the cell is within reasonable operating conditions. The midpoint divided by the scaling size of the cell gives the gain value. The average of all the gain values for all the discrete cells in the selected cluster can then be used as a default gain for the selected scalable cell. This is then repeated for all scalable cells.

According to the second process to determine the default gain value for a scalable cell, a fixed-delay-based default gain is used. In this method, first a delay number T or a scalable inverter is computed as the average delay of all the discrete inverters in the cluster for a fixed gain value between 3 and 5. Next the default gain of all the scalable cells is computed so that the average delay of all their arcs is T, if the gain of the cell is equal to the default gain. For this an LDM approximation of the NLDM of the scalable cell is used to achieve convergence.

Area Model Generation. At step 272 of FIG. 5, area is modeled by the library analysis process 222 for each scalable cell as a linear function of output load. At step 272, the model essentially estimates the area of a scalable cell as a function of scaling size of all discrete cells corresponding to the scalable cell. The output load and the gain of a scalable cell are used to determine the scaling size which aids in identifying the area of the scalable cell. However, because area is a step function, a linear approximation is likely to be erroneous.

FIG. 19 is a graph 480 that plots the area of discrete cells against their average input capacitance. On the x-axis of the graph is the average input capacitance and on the y-axis is the area of the discrete cells. As shown in the plot 482, there exists several discrete cells with the same area and then suddenly the area increases. Thus, a linear area model is bound to have some error. However, in practice, the error does not have significant impact on the synthesis quality of results because area is used as a secondary cost with delay being the primary cost.

Input Capacitance Model Generation. At step 274 of FIG. 5, the library analysis process 222 computes an input capacitance model for each input pin of each scalable cell. To account for variances in input pin capacitances between different input pins of a cell, the library analysis process 222 derives, for each input pin, a model for input pin capacitance as a linear function of the scaling size. The scaling sizes and input pin capacitances of all discrete cells corresponding to the scalable cell are used to derive this model. This model is primarily derived to enable load propagation. This model tends to be fairly accurate depending on the performance of the cell clustering processes. Different models are generated for different input pins as they can be significantly different for input pins of complex gates. One example of this is the select and data lines of a multiplexor.

DISCRETIZATION PROCESS 228

The discretization process 228 of FIG. 2 acts to replace the scalable cells generated by the library analysis process 222 and used by the gain-based structuring and mapping processes 226 with discrete cells of the technology library 204. This is performed because the technology dependent optimizations 230 of FIG. 2 are performed on discrete cells, not the scalable cells. Therefore, at the end of optimization, embodiments of the present invention discretize the scalable cells to the closest discrete cells available in the target technology library 204.

FIG. 20 illustrates the steps of the discretization process 228 in more detail. At step 510, a particular scalable cell of the input netlist is selected. At step 512, the present invention accesses the cell cluster corresponding to the logic function of the selected scalable cell. At step 514, based on the gain of the selected scalable cell, determine a discrete cell of the selected cell cluster that is closest to the selected scalable cell such that the error in delay between the scalable and discrete cell in minimized and design rule violations like the maximum capacitance and maximum transition rules are addressed. At step 516, the selected scalable cell of the netlist is replaced with the corresponding discrete cell as identified in step 514. At step 518, the above steps are repeated until all scalable cells of the netlist have been replaced with corresponding discrete cells. At step 520, a discretized netlist is then output in memory for used by the technology optimization processes 230 (FIG. 2).

The library analysis process 222 creates an internal scalable technology library 224 (FIG. 2) by analyzing discrete cells from the target technology library 204. The scalable cells in the scalable library are characterized with a new load-independent delay model, in which delay is modeled as a non-linear function of gain and slew. In addition, library analysis 222 also creates models for area and load propagation for scalable cells. The optimization processes 226 use the scalable cells (with their gain-based NLDMs) as a basis for optimization. At the end of optimization, discretization process 228 replaces the scalable cells to the closest discrete cells available in the target technology library 204. Following this, technology based optimizations 230 are performed primarily for delay, design rule fixing and area recovery.

The accuracy of many processes of FIG. 2 is hinged upon the accuracy of the scalable model that library analysis 222 derives. After performing library analysis, a library analysis process is automatically performed to determine if the target technology library 204 is suitable for the gain-based structuring and mapping processes 226. A library suitability report 212 is generated to aid in this process. If the library 204 is found to be suitable then gain-based structuring and mapping processes 226 are invoked and if not, then traditional logic synthesis processes are performed.

LIBRARY EVALUATION PROCESS 600

FIG. 21 is a process and data flow diagram illustrating an alternate embodiment 200′ of the logic synthesis and optimization processes 200 of FIG. 2 with the addition of a library evaluation process 600 and steps 231 and 227. The remaining elements of FIG. 21 operate in a fashion analogous to that described with reference to FIG. 2. Library evaluation 600 of the present invention automatically evaluates the suitability of the target technology library 204 for generating a suitable scalable library 224 for use in the gain-based structuring and mapping process 226. Several characteristics of the target technology library 204 may render it unsuitable for this use, as described below. To perform this task, library evaluation 600 analyzes the scalable library 224 and also the technology library 204 to generate a library suitability report 212. If the library suitability report 212 indicates that the target technology library 204 did not generate a suitable scalable library 224 at step 231, then gain-based structuring and mapping process 226 and mapping process 228 are not performed (step 227 is entered). Alternatively, if the library suitability report 212 indicates that the target technology library 204 did generate a suitable scalable library 224, then gain-based structuring and mapping process 226 and mapping process 228 are performed. Library designs may use the library suitability report 212 in their work to design suitable libraries.

Library evaluation 600 of FIG. 21 uses the results of library analysis 222 (as well as some information from the technology library 204) to determine if the technology library 204 is suitable for the gain-based structuring and mapping processes 226. This section presents several metrics that are used by library evaluation 600 in generating the suitability report 212. The metrics focus on the manner in which the scalable cells 224 are derived and how they are leveraged within the gain-based structuring and mapping processes 226. In one embodiment, these metrics also provide a reasonable understanding of what characteristics of discrete cells in a technology. library 204 would qualify the library to be suitable for gain-based structuring and mapping processes 226. It is also important to note that the description of the library analysis 222 process above also aids in understanding the characteristics of discrete library cells are desirable for the gain-based structuring and mapping processes 226.

As described in more detail below, library evaluation 600 only considers a subset of the combinational elements that were analyzed during library analysis 222. In an alternative embodiment, library evaluation 600 could also consider all scalable cells of the scalable cell library 224. In the preferred embodiment, library evaluation 600 is mostly based on 3 main metrics including: 1) function classes; 2) number of sizes; and 3) size consistency metrics. The following discussion describes these metrics in more detail.

FIG. 22 illustrates the steps within the library evaluation process 600 in accordance with one embodiment of the present invention.

Functional Classes. At step 610 of FIG. 22, library evaluation 600 considers only a subset of the combinational cells that were analyzed during library analysis 222. Library evaluation 600 accesses the internal scalable library 224 (FIG. 21) and categorizes the cells into two sets including a basic cell set and an extended cell set. In one embodiment, all cells that do not belong to these two categories are ignored during library evaluation 600. However, it should be understood that all scalable cells within the scalable library 224 (FIG. 21) are nevertheless considered and may be used during gain-based structuring and mapping processes 226 and all discrete cells in the technology library 204 are considered during technology dependent optimization 230 (FIG. 21). The basic and extended cell sets are based on commonly used cells. It is not a function of library evaluation 600 to reject a technology library 204 based on the characteristics (either good or bad) of uncommon or seldom used cells.

FIG. 23A illustrates the basic cell set 630 a of step 610 (FIG. 22) which includes, in one embodiment, the cell cluster of the inverter gates, the cell cluster of the 2 input NOR gates, the cell cluster of the 3 input NOR gates, the cell cluster of the 2 input NAND gates and the cell cluster of the 3 input NAND gates. It is appreciated that the basic cell set 630 a is a subset of the scalable cells within the scalable library 224 (FIG. 21).

FIG. 23B illustrates the extended cell set 630 b as accessed by step 610 (FIG. 22) which includes, in one embodiment, the cell cluster of the 2 input OR gates, the cell cluster of the 3 input OR gates, the cell cluster of the 2 input AND gates, the cell cluster of the 3 input AND gates, the cell cluster of the 2 input XOR gates, the cell cluster of the 3 input XOR gates, the cell cluster of the 2 input XNOR gates, the cell cluster of the 3 input XNOR gates, the cell cluster of the 2:1 multiplexers (MUX), the cell cluster of the 2:1 inverse multiplexers (IMUX), the cell cluster of the AOI (AND/OR then invert) gates and the cell cluster of the OAI (OR/AND then invert) gates. It is appreciated that the extended cell set 630 b is a subset of the scalable cells within the scalable library 224 (FIG. 21).

The complete set of cells that are used in library evaluation 600 is the union of the basic 630 a and the extended 630 b set of cells. It is important to note that, even though buffer cells have not been included in any of the cell sets above for library evaluation 600, they can be used by process 226 and by the technology-dependent optimization step 230. In one embodiment, library evaluation 600 does not consider buffer cells because, in part, they can be derived easily using inverters, as long as the target library 204 has a suitable subset of inverters. Therefore, a technology library 204 should not be rejected due to buffer cell characteristics. Of course, the library designer is encouraged to add buffers as they aid in reducing cell count and area during technology-dependent optimizations 230.

Number of Sizes Metric. The number of sizes metric is generated at step 615 of FIG. 22 by the library evaluation process 600. Step 615 is described in detail by FIG. 24A and FIG. 24B. Library analysis 222 (FIG. 21) creates clusters of discrete cells for each single-output combinational logic function in the target technology library 204. As described above, only the best cluster for each logic function is retained for the scalable cell library 224. It is important for the size of the clusters to be reasonably large in order for the technology library 204 to qualify as suitable for scalable cell generation. Generally, the bigger the size of the cell clusters (e.g., more discrete cells per cell cluster), the better the gain-based structuring and mapping processes 226 is likely to leverage them to result in better quality or results (QOR).

For library evaluation 600, the number of sizes of a logic function is the number of discrete cells in the cell cluster associated with the scalable cell implementing that function. It is appreciated that because each scalable cell is based on only one cell cluster, the term “cell cluster” and the term “scalable cell” can be used interchangeably in this section. FIG. 24A and FIG. 24B illustrate a process 615 performed by library evaluation to evaluate the technology library 204 based on the results (e.g., the extended and basic cell set) of the scalable library 224.

FIG. 24A illustrates the steps performed by the library evaluator 600 for computing the number of sizes metric on the basic cell set 630 a. At step 650, the present invention determines the number of discrete cells within each cell cluster of the basic cell set 630 a. At step 655, the present invention uses the information of step 650 to compute the average number of discrete cells within the cell clusters of the basic cell set 630 a by averaging all the numbers computed by step 650. At step 660, a report is made as to whether or not the cell average computed at step 655 is greater than a predetermined threshold value, J. In one embodiment, this value J is 6, but can be programmable. In this embodiment, it is recommended that the average number of discrete cells corresponding to all scalable cells in the basic set should be at least 6. If this is not the case, the technology library 204 can be flagged as not suitable by the library evaluator 600.

At step 665 of FIG. 24A, a determination is made as to whether each cell cluster of the basic cell set 630 a individually has at least J number of discrete cells. In one embodiment, J is 6. In this embodiment, preferably, the number of sizes of each logic function in the basic set 630 a should be equal to or greater than 6. If this is not the case, the technology library 204 can be flagged as not suitable by the library evaluator 600.

FIG. 24B illustrates the steps performed by the library evaluator 600 for computing the number of sizes metric on the extended cell set 630 b. At step 670, the present invention determines the number of discrete cells within each cell cluster of the extended cell set 630 b. At step 675, the present invention uses the information of step 670 to compute the average number of discrete cells within the cell clusters of the extended cell set 630 b. At step 680, a report is made as to whether or not the cell average computed at step 675 is greater than a predetermined threshold value, P. In one embodiment, this value P is 5, but can be programmable. In this embodiment, it is recommended that the average number of discrete cells corresponding to all scalable cells in the extended cell set should be at least 5. If this is not the case, the technology library 204 can be flagged as not suitable by the library evaluator 600.

At step 685 of FIG. 24B, a determination is made as to whether each cell cluster of the extended cell set 630 b individually has at least P number of discrete cells. In one embodiment, P is 5. In this embodiment, preferably, the number of sizes of each logic function in the extended set 630 b. should be equal to or greater than 5. If this is not the case, the technology library 204 can be flagged as not suitable by the library evaluator 600. At step 690, the information obtained at steps 660-665 and 680-685 are compiled into a suitability report which grades the target library 204 as either suitable (based on determinations made so far) or not suitable based on the number of sizes metric. If for any reason (so for determined) that the target technology library 204 is not suitable, an explanation can optionally be generated by step 690 indicating the reason. If the number of sizes metric determined the technology library 204 to be unsuitable, performing the size consistency metric (below) is optional.

Size Consistency Metric. It is important to note that simply having the number of recommended discrete sizes for a particular logic function in the technology library 204 is not always sufficient. Since the library evaluation 600 checks the number of sizes in a cell cluster, it is important for the discrete cells to have similar characteristics for them to be included in the same cluster. For this reason, step 620 of the library evaluation process 600 of FIG. 22 performs a size consistency evaluation. Step 620 compute metrics that help evaluate whether the different discrete sizes in a logic cluster are well correlated, such that good scalable models (e.g., those with small errors) can be generated by the library analysis process 222. The size consistency metric generation step 620 is described in more detail in FIG. 25A and consists of two separate evaluations: 1) an input pin consistency evaluation; and 2) a delay consistency evaluation.

Input Pin Consistency. FIG. 25A illustrates the steps performed to compute and evaluate the size consistency metric of the library evaluator 600. At step 705, the input pin capacitance ratios are computed of corresponding input pins of all discrete cells for each cell cluster of the basic and extended cell sets. Every scalable cell and all discrete cells in its logic cluster have the same number of input and output pins. Assuming two gates of a same cell cluster are called gate “a” and gate “b” and each has a first input (1) and a second input (2), the capacitance of the first input for gate “a” can be written as Ca1. Therefore, the input capacitance ratio of corresponding input pins can be written as: $\frac{Ca1}{Cb1} = \frac{Ca2}{Cb2}$

This can be rewritten as: $\frac{Ca1}{Ca2} = \frac{Cb1}{Cb2}$

In this case, each capacitance ratio can be written as a ratio of the input pins of a same discrete cell. At step 705 of FIG. 25A, the above ratio is computed for each discrete cell of each cell cluster for the basic and extended cell sets. The ratio of capacitances of corresponding input pins of consecutive sizes should be within a predetermined threshold percentage, e.g., 10 percent in one embodiment. This will ensure uniform scaling of the discrete sizes. At step 705 a separate graph is determined for each cell cluster (of the basic and extended cell sets) ranking the discrete cell's capacitance ratio. If the computed capacitance ratio of a particular cell cluster exceeds a predetermined threshold percentage, e.g., 10% variation, then the technology library 204 can be unsuitable and a report is generated for use by step 725.

At step 710, the present invention also computes the variance of input capacitances of functionally equivalent input pins of each discrete cell of the cell clusters of the basic and extended cell sets. For instance, each input of an AND gate is functionally equivalent to the other input pin(s) because the signals on these pins could be swapped with no change in the gate's function. The variance of capacitances between different functionally equivalent input pins of a discrete cell should be within a predetermined threshold percentage, e.g., in one embodiment 10 percent. This will ensure that the scaling size approximation that is used in library analysis 222 will be less erroneous. Adherence to these metrics is likely to result in rich cell clusters and good linear plots during library analysis 222. At step 710, if the computed capacitance ratios of functionally equivalent input pins exceed 10% variation, then a report is generated for use by step 725 that may indicate that the technology library 204 is unsuitable.

Delay Consistency. The library evaluator at step 715 performs a delay consistency metric evaluation. In order to check for delay consistency, a “delay max_error” metric is defined for each scalable cell of the basic and extended cell sets. The “delay_max_error” is the maximum delay error between the gain-based NLDM table of the scalable cell that library analysis 222 derives and the output load-based NLDM table for all the corresponding discrete cells. It is also the maximum over all delay arcs considering both rise delay and fall delay NLDM tables.

Specifically, FIG. 25B illustrates the steps of the delay consistency process 715 in accordance with the present invention. At step 730, a particular cell cluster of the basic plus extended cell sets is selected. At step 735, the rise delay errors are computed between the rise delay from the gain-based NLDM of the selected cell cluster and the respective rise delays from each output load-based NLDM of each discrete cell of the selected cell cluster. This is performed by selecting a nominal gain (e.g., from 3 to 8) and using the nominal slew value computed above as input the gain-based NLDM. Then, this selected gain value is used to compute an output load based on the discrete cell's input capacitance and the output load-based NLDM is used to compute a delay value. This is done for each discrete cell.

At step 740 of FIG. 25B, the fall delay errors are computed between the fall delay from the gain-based NLDM of the selected cell cluster and the respective fall delays from each output load-based NLDM of each discrete cell of the selected cell cluster. This is performed by selecting a nominal gain (e.g., from 3 to 8) and using the nominal slew value computed above as input the gain-based NLDM. Then, this selected gain value is used to compute an output load based on the discrete cell's input capacitance and the output load-based NLDM is used to compute a delay value. This is done for each discrete cell. At step 745, the above computations of step 735-740 are performed for each timing arc of the discrete cells. At step 750, the maximum computed delay error for each discrete cell is selected considering rise delay, fall delay and all timing arcs. The maximum selected delay error across all discrete cells of the selected cell cluster is then determined and used for the selected cell cluster.

At step 755 of FIG. 25B, the above steps of 735-750 are repeated for each scalable cell of the extended and basic cell sets. It is appreciated that in one embodiment, the delay error is represented as a percentage and is only computed for gain and input slew values within permissible range. At the completion of step 755, each cell cluster of the basic and extended cell sets has a corresponding delay_max_error value.

At step 715 of FIG. 25A, the average delay_max_error for all scalable cells of the basic and extended cell sets is also computed. The average delay_max_error is the average of all the delay_max_errors for all the scalable cells in the complete set of cells. At step 720, library evaluation 600 also computes the average delay_max_error for cells from the basic cell set alone. This is expected to be significantly lower than that for the complete set of cells.

At step 725, a final cell size consistency evaluation report is generated. The value of average delay_max_error should be as low as possible. For rich libraries (e.g., those with many discrete cells in each cell cluster) the acceptable value of average delay_max_error is increased. In other words, the acceptable value of average delay_max_error is a function of the number of discrete cells in the cell clusters. If there are too few sizes in each scalable cell and the error is fairly high, the target technology library 204 will be rejected. A threshold error value of 15% is used in one embodiment, but this value can be programmable. The more sizes of discrete cells that are within each scalable cell, the closer to 15% percent error will be accepted for the average delay_max_error. However, the maximum permissible value of average delay max error is 15%. The target library 204 is indicated as unsuitable whenever the average delay_max_error is 15% or more. It is appreciated that the maximum permissible value for average delay_max_error of cells in the basic cell set is 10%. If this threshold value is exceeded, then the target library 204 is indicated as unsuitable.

At step 625 of FIG. 22, a final library suitability report 212 is compiled by the library evaluation process 600. If at any juncture above, the target technology library 204 is determined to be unsuitable, then a final designation reflecting this is made within the library suitability report 212 (FIG. 21), otherwise a designation is made within the library suitability report 212 that the target technology library 204 is suitable. In addition to a flag indicating that the target library 204 is unsuitable, as the case may be, the library evaluation process 600 can optionally indicate the metrics used in this determination.

LIBRARY CONSTRUCTION PROCESS 800

FIG. 26A and FIG. 26B illustrate a technology library construction process 800 in accordance with an embodiment of the present invention for constructing a technology library that is likely to be suitable for generating a scalable cell library that can be used in the gain-based structuring and mapping processes 226 (FIG. 2). The above discussions describe the library analysis 222 and library evaluation 600 processes. Several metrics that characterize the behavior of discrete cells were also discussed in this context. A library developer could use these techniques and metrics itself as guidelines for designing libraries that are suitable for gain-based cell structuring and mapping.

In this section a process for constructing suitable libraries is described. Using this process can aid customers in taking advantage of high-end QOR capabilities in industry-standard logic synthesis tools like Design Compiler, commercially available from Synopsys of Mountain View, Calif. As library analysis 222 only considers single output combination cells, it is appreciated that sequential cells and multi-bit cells are not covered by the following library generator 800. It is also appreciated that many well known methods and procedures can be used for forming discrete cells within a technology library and the steps that follow can be applied to, and in addition to, these methods and procedures in the fabrication of a technology library.

At step 810, during the generation of the logic functions for the basic cell set 630 a, the present invention uses at least J number of discrete cells in each logic function of the basic cell set of the library being generated. In one embodiment, J is six. Therefore, there are at least six cells for each logic function in the basic set of cells. At step 815, the present invention uses at least P number of discrete cells in each logic function of the extended cell set 630 b of the library being generated. In one embodiment, P is five. Therefore, there are at least five cells for each logic function in the-extended set of cells. At step 820, the present invention either excludes or transforms any logic that uses internal buffering for sizing. Sizes derived using internal buffering will most likely get ruled out by the library analysis process 222 during logic clustering as they typically have poor correlation with other non-buffered cells. For example, in FIG. 8 most of the cells not included in the cluster have been derived by internal buffering.

At step 825 of FIG. 26A, the present invention modifies input capacitances such that cells of a same logic function do not have over 10 percent variance of their input capacitance ratios. For each discrete cell in the complete set of cells, the variance of capacitances between different input pins of the cell should be within 10%. This ensures that the scaling size approximation that is used in library analysis is less erroneous. Following are the input pin capacitances for three different two input nand gates in a library 204. Cells nand2 and nand3 have almost equal input pin capacitance for the two input pins. However, cell nand1 has significantly different input pin capacitance for the two input pins and the ratio is below 0.9. This cell will not be included within the cluster because of inconsistent input pin capacitances

Cell Pin1 Pin2 Ratio nand1 0.00410 0.00365 0.89 nand2 0.03360 0.03340 0.99 nand3 0.05630 0.05600 0.99

Also at step 825, the present invention makes the ratio of capacitances of corresponding input pins of consecutive sizes be within 10% for all discrete cells within a logic cluster. This ensures uniform scaling of the discrete sizes.

At step 830 of FIG. 26B, the present invention computes the ratio of output load to average input capacitance such that they are equal for corresponding timing arcs of discrete cells of the same logic function. This is done across all logic functions. For corresponding timing arcs of discrete sizes for a particular logic function, if the ratio of the output load to average input capacitance is equal, then the delays of the arcs will most probably be within 10%. Adherence to this metric aids in creating richer logic clusters (e.g., those with many discrete cells in each). In the following example, output capacitance is set to three times the input capacitance for a set of three different discrete inverters. Cells inv2 and inv3 have consistent delay arcs and hence might be clustered together. Cell inv1 will be ignored as the delay numbers are significantly different from the other cells.

Input Output Rise Fall Cell Cap. Load Delay Delay inv1 0.0140 0.0420 0.2545 0.3325 inv2 0.0440 0.1320 0.0978 0.0734 inv3 0.0870 0.2610 0.1016 0.0783

At step 835, the present invention computes the sizes of the discrete cells in each logic function such that they are geometrically distributed. The sizes of cells for each logic function preferably should-be geometrically distributed. In one embodiment, the scaling factor between consecutive sizes should be less than 2. A smaller scaling factor is desirable. Also, a hybrid size distribution with linear distribution for small to medium sized cells and geometric distribution generally aids the design compiler to produce better results. However, the size distribution criterion is not imposed as a metric during clustering or library evaluation 600.

At step 840 of FIG. 26B, the present invention maintains, for each discrete cell within a logic cluster, that the output maximum capacitance constraint be linearly proportional to the average input capacitance of the discrete cell. The average input capacitance is taken as the average over each input pin of the discrete cell. At step 845, the present invention then saves the technology library in computer memory.

It is appreciated that current versions of technology libraries might have logic cells that do not meet the above criterion. These cells do not have to be removed. Clustering ignores these cells as long as there are sufficient cells which do meet the above criterion. Also developers can add non con-formant cells for optimization reasons other than delay cost. It is important to note that these cells will be used during technology dependent optimization (step 230 of FIG. 2) and can significantly improve the target cost (design rules or area) for which the cell has been designed.

EXPERIMENTAL RESULTS AND SAMPLE LIBRARY SUITABILITY REPORTS

Library analysis 222 and evaluation 600 were tested over several vendor libraries. Most of the newer libraries were found to be suitable. However, versions of libraries with very few sizes were not found suitable. In this section, we present some exemplary results of these exemplary tests. The details of the columns in the following tables are as follow. (1) Num Sizes—this column represents the number of cells in the selected cluster. (2) Size Consistency Max Error—within each cluster the cells are sorted based on their scaling size. Next, size consistency error is computed for each cell by comparing its NLDM to the NLDM of the cell succeeding the current cell after normalizing the NLDM tables based on the scaling size of the two cells. Therefore, this table represents the max of all the size consistency errors computed for all the cells in the cluster. (3) Delay Max Error—this value is described with respect to FIG. 25B and related descriptions.

Table I below illustrates an exemplary suitability report based on an exemplary technology library 204:

TABLE I Size Consistency Delay Max Cell Num Sizes Max Error Error and2 7 8.1% 7.8% aoi4 10 5.9% 7.4% oaid4 9 5.0% 4.9% inv 21 15.1% 15.5% imux2 8 10.3% 14.5% nand2 24 11.0% 14.0% nand3 19 11.7% 13.0% nor2 28 17.6% 18.4% nor3 26 9.0% 13.4% or2 7 4.7% 5.5% xnor2 9 6.5% 6.3% xor2 10 5.9% 10.4% Avg: 14.8 9.2% 10.9%

The information in Table I above was generated during library evaluation 600. The library 204 was accepted as a good library because it has many sizes for both basic and extended gates. Also the error numbers were within acceptable ranges.

TABLE II Size Consistency Delay Max Cell Num Sizes Max Error Error and2 3 9.9% 14.7% aoi4 4 8.8% 7.0% inv 15 9.7% 18.8% imux2 2 6.7% 8.8% mux2 3 12.9% 13.1% nand2 9 6.5% 4.5% nand3 5 6.5% 5.1% nor2 5 7.2% 9.6% nor3 3 8.2% 2.9% oai4 4 8.7% 8.5% or2 3 12.2% 13.0% xnor2 2 9.8% 6.7% xor2 2 10.0% 7.9% Avg: 4.6 9.0% 9.3%

The information in Table II above was generated during library evaluation 600 with respect to an exemplary library. Even though this library has average sizes less than 5, it was accepted as a good library because it has several good properties. Some of these properties are that it has many sizes for the basic set of gates and the error numbers are fairly low.

TABLE III Size Consistency Delay Max Cell Num Sizes Max Error Error and2 2 .4% 16.5% and2 5 6.4% 4.5% nor2 2 11.3% 9.7% nor3 3 9.9% 13.4% nand2 3 9.0% 4.3% nand3 3 10.4% 7.3% aoi4 2 10.4% 9.6% oai4 2 10.2% 10.0% xor2 2 1.7% 16.5% Avg: 2.7 8.5% 10.2%

The information in Table III above was generated during library evaluation 600 with respect to an exemplary library. The above library was not found suitable as it had too few sizes for both the basic and extended gates, even though size consistency and delay max errors were reasonably low.

TABLE IV Size Consistency Delay Max Cell Num Sizes Max Error Error and2 2 10.7% 16.4% inv 7 4.4% 5.6% nand2 2 6.5% 6.1% nor2 2 44.0% 41.8% nor3 2 31.2% 33.3% or2 2 4.2% 11.7% Avg: 2.7 18.2% 20.9%

The information in Table IV above was generated during library evaluation 600 with respect to an exemplary library. The above library was not found suitable because not only does it have too few sizes, even the error numbers are too high.

CONCLUSION

The preferred embodiment of the present invention, a system and method for constructing a technology library that is suitable for conversion into an alternate library format that includes non-linear, gain-based delay modeling, is thus described. While the present invention has been described in particular embodiments, it should be appreciated that the present invention should not be construed as limited by such embodiments, but rather construed according to the below claims. 

What is claimed is:
 1. A library construction process comprising the steps of: a) constructing logic functions of a technology library corresponding to a basic cell set wherein each logic function of said basic cell set comprises at least a first predetermined number of discrete cells; b) constructing logic functions of said technology library corresponding to an extended cell set wherein each logic function of said extended cell set comprises at least a second predetermined number of discrete cells, c) determining input pin capacitances of discrete cells of a same logic function such that variances of input pin capacitance ratios do not exceed a percentage threshold and repeating step c) for each logic function of said basic and extended cell sets of said technology library; d) for discrete cells of a same logic function, geometrically distributing sizes of each discrete cell and repeating step d) for each logic function of said basic and extended cell sets of said technology library; e) saving said technology library in a computer memory; and f) for corresponding timing arcs of a same logic function, determining their ratios of output load to input capacitance to be equal and repeating step f) for each logic function of said basic and extended cell sets of said technology library.
 2. A process as described in claim 1 wherein said first predetermined number of discrete cells is six.
 3. A process as described in claim 2 wherein said second predetermined number of discrete cells is five.
 4. A process as described in claim 3 wherein said percentage threshold is ten percent.
 5. A process as described in claim 2 wherein said percentage threshold is ten percent.
 6. A process as described in claim 1 wherein said second predetermined number of discrete cells is five.
 7. A process as described in claim 1 wherein said percentage threshold is ten percent.
 8. A process as described in claim 1 further comprising the step of: g) for discrete cells within a logic function, determining respective output maximum capacitance constraints to be linearly proportional to corresponding average input capacitances for said discrete cells and repeating step g) for each logic function of said basic and extended cell sets of said technology library.
 9. A process as described in claim 1 wherein said basic cell set comprises: inverter gates; NAND gates; and NOR gates.
 10. A process as described in claim 1 wherein said extended cell set comprises: AND gates; OR gates; XOR gates; XNOR gates; and multiplexer gates.
 11. A process as described in claim 1 further comprising the step of converting said technology library into a scalable cell library wherein said scalable cell library comprises a data structure model for each scalable cell, said data structure model stored in computer readable memory and comprising: a look-up table storing values referenced by gain and input slew, said look-up table providing an output slew value and an output delay value for a given pair of input values comprising: a gain value; and an input slew value, wherein said look-up table is used by computer implemented electronic design automation processes for providing an estimate of a signal delay through an integrated circuit cell, said estimate of said signal delay being used in designing an integrated circuit device and wherein said look-up table models signal delay using a non-linear function.
 12. A computer system comprising a processor coupled to a bus and a memory unit coupled to said bus and having stored thereon instructions that when executed implement a library construction process comprising the steps of: a) constructing logic functions of a technology library corresponding to a basic cell set wherein each logic function of said basic cell set comprises at least a first predetermined number of discrete cells; b) constructing logic functions of said technology library corresponding to an extended cell set wherein each logic function of said extended cell set comprises at least a second predetermined number of discrete cells; c) determining input pin capacitances of discrete cells of a same logic function such that variances of input pin capacitance ratios do not exceed a percentage threshold and repeating step c) for each logic function of said basic and extended cell sets of said technology library; d) for discrete cells of a same logic function, geometrically distributing sizes of each discrete cell and repeating step d) for each logic function of said basic and extended cell sets of said technology library; e) saving said technology library in a computer memory; and f) for corresponding timing arcs of a same logic function, determining their ratios of output load to input capacitance to be equal and repeating step f) for each logic function of said basic and extended toll sets of said technology library.
 13. A computer system as described in claim 12 wherein said first predetermined number of discrete cells is six.
 14. A computer system as described in claim 13 wherein said second predetermined number of discrete cells is five.
 15. A computer system as described in claim 14 wherein said percentage threshold is ten percent.
 16. A computer system as described in claim 13 wherein said percentage threshold is ten percent.
 17. A computer system as described in claim 12 wherein said second predetermined number of discrete cells is five.
 18. A computer system as described in claim 12 wherein said percentage threshold is ten percent.
 19. A computer system as described in claim 12 wherein said process further comprises the step of: g) for discrete cells within a logic function, determining respective output maximum capacitance constraints to be linearly proportional to corresponding average input capacitances for said discrete cells and repeating step g) for each logic function of said basic and extended cell sets of said technology library.
 20. A computer system as described in claim 12 wherein said basic cell set comprises: inverter gates; NAND gates; and NOR gates.
 21. A computer system as described in claim 12 wherein said extended cell set comprises: AND gates; OR gates; XOR gates; XNOR gates; and multiplexer gates.
 22. A computer system as described in claim 12 wherein said process further comprising the step of converting said technology library into a scalable cell library wherein said scalable cell library comprises a data structure model for each scalable cell, said data structure model stored in computer readable memory and comprising: a look-up table storing values referenced by gain and input slew, said look-up table providing an output slew value and an output delay value for a given pair of Input values comprising: a gain value; and an input slew value, wherein said look-up table is used by computer implemented electronic design automation processes for providing an estimate of a signal delay through an integrated circuit cell, said estimate of said signal delay being used in designing an integrated circuit device and wherein said look-up table models signal delay using a non-linear function. 